package inabit.expressioncompiler.productions;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;
import inabit.expressioncompiler.parser.ExpressionSemanticAction;

/**P -> &*/
/**@author Rafael Rocha*/
public class J_Rule2 extends Production{
	public J_Rule2() {
		super("J");
	}
	
	public Symbol[] production(final NonTerminal nonTerminal) {
		
		Symbol[] symbols = {
			
			new ExpressionSemanticAction(nonTerminal) {
				public void execute() {
					nonTerminal.code = "";
				}
			}
		};
		return symbols;
	}
}
